#ifndef QAVFSUBTITLERAME_H
#define QAVFSUBTITLERAME_H

#include <qavstreamframe.h>

QT_BEGIN_NAMESPACE

struct AVSubtitle;
class QAVSubtitleFramePrivate;
class QAVSubtitleFrame : public QAVStreamFrame
{
public:
    QAVSubtitleFrame(QObject* parent = nullptr);
    ~QAVSubtitleFrame();
    QAVSubtitleFrame(const QAVSubtitleFrame &other);
    QAVSubtitleFrame &operator=(const QAVSubtitleFrame &other);

    AVSubtitle* subtitle() const;

private:
    Q_DECLARE_PRIVATE(QAVSubtitleFrame)
};

Q_DECLARE_METATYPE(QAVSubtitleFrame)

QT_END_NAMESPACE

#endif
